// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import FastClick from 'fastclick'
import VueRouter from 'vue-router'
import router from './router'
import App from './App'
import {ToastPlugin} from 'vux'
import axios from 'axios'

Vue.use(ToastPlugin)

Vue.use(VueRouter)

// axios
axios.defaults.baseURL = 'http://activity.cloudlinker.cn'

FastClick.attach(document.body)

Vue.config.productionTip = false

Vue.prototype.$http = axios

/* eslint-disable no-new */
new Vue({
  router,
  render: h => h(App)
}).$mount('#app-box')
